package com.platform.car.dao;

import com.platform.car.model.Parkingpay;
import com.platform.common.annotation.MyBatisDao;
import com.platform.common.base.dao.BaseDao;
import com.platform.common.page.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisDao
public interface ParkingpayDao extends BaseDao<Parkingpay> {

    /**
     * 根据预约的ID查询支付
     * @param parkuseId
     * @return
     */
    List<Parkingpay> selectByParkuserId(Integer parkuseId);

    /**
     * 根据预约的ID查看支付
     * @param parkuserId
     * @return
     */
    Parkingpay selectParkuserId(Integer parkuserId);

    /**
     * 根据订单的ID查询订单信息
     * @param parkingpayId
     * @return
     */
    Parkingpay selectById(Integer parkingpayId);

}
